<%@ page contentType="text/html;charset=UTF-8"%>

<div class="rap-page-area hide" id="rap-page-area-renew">
	<div class="col-md-12 rap-layout-main">
		<div class="row rap-toolbar">
			<button id="rap-btn-save-renew">
				<i class="fa fa-save"></i> 保存
			</button>
			<button id="rap-btn-cancel-renew">
				<i class="fa fa-rotate-left"></i> 取消
			</button>
		</div>

		<div class="row">
			<!-- Edit From -->
			<form id="rap-form-renew" class="rap-form">
				<input name="uuid" type="hidden">
				<input name="theCode" type="hidden">
				<input name="contractState" type="hidden">
				<input name="contractChangeType" type="hidden">
				
				<input type="hidden" name="groupOne">
				<input type="hidden" name="groupTwo">
				<table>
					<tr>
						<td class="rap-form-lable required">合同编号</td>
						<td>
	<input name="contractNum" type="text" readonly="readonly">
						</td>
						<td class="rap-form-lable required">承租人</td>
						<td>
							<input name="custom.uuid" type="hidden"  id="customId"> 
							<input type="text" name="customName" id="customName" readonly="readonly">
						</td>
						<td class="rap-form-lable required">合同签订日期</td>
						<td>
    <input name="signDate" type="text" class="rap-input-date" /> 
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable required">生效日期</td>
						<td>
    <input name="beginDate" type="text" class="rap-input-date"  readonly="readonly"/> 
						</td>
						<td class="rap-form-lable required">失效日期</td>
						<td>
    <input name="endDate" type="text" class="rap-input-date" /> 
						</td>
					
						<td class="rap-form-lable required">租赁期限(月)</td>
						<td>
							<input name="months" type="number" placeholder="填写合同有效期月数">
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable required">支付类型</td>
						<td>
    <select name="payType" class="rap-input-enumdata" data-enum-group="stwy_payType" ></select>
						</td>
						<td class="rap-form-lable required">租金</td>
						<td>
	<input name="rent" type="text" placeholder="整体租金">
						</td>
						<td class="rap-form-lable required">租金单价</td>
						<td>
	<input name="price" type="text" placeholder="每平方租金,系统自动计算">
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable required">提前收租天数</td>
						<td>
	<input name="beforeDay" type="number" >
						</td>
						<td class="rap-form-lable required">租赁保证金</td>
						<td>
	<input name="deposit" type="text" >
						</td>
						<td class="rap-form-lable ">是否已备案</td>
						<td>
	<select name="hasArchives" class="rap-input-enumdata" data-enum-group="stwy_hasArchives" ></select>
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable">初次调租日期</td>
						<td>
    <input name="adjustDate" type="text" class="rap-input-date" /> 
						</td>
						<td class="rap-form-lable">租金涨幅</td>
						<td>
							<div class="col-md-4 col-sm-4 rap-td-inline"><select name="increaseHandle" class="rap-input-enumdata" data-enum-group="stwy_increaseHandle" ></select></div>
							<div class="col-md-6 col-sm-6 rap-td-inline"><input name="increase" type="text" ></div>
							<div class="col-md-2 col-sm-2 rap-td-inline"><select name="increaseType" class="rap-input-enumdata" data-enum-group="stwy_increaseType" ></select></div>
						</td>
						<td class="rap-form-lable required">合同签订时是否缴纳租金</td>
						<td>
	<select name="hasInitPay" class="rap-input-enumdata" data-enum-group="BooleanType" ></select>
						</td>
					</tr>
					<tr id="tr_initpay" class="hide">
						<td class="rap-form-lable required">合同签订时支付租金</td>
						<td>
	<input name="initPay" type="text" >
						</td>
						<td class="rap-form-lable required">合同签订时租金缴至</td>
						<td>
	<input name="initPayEndDate" type="text" class="rap-input-date"  placeholder="系统会从该日期开始自动计算租金">
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable">承租总面积(㎡)</td>
						<td>
	<input name="area" id="area" type="text" readonly="readonly" placeholder="系统自动计算">
						</td>
						<td class="rap-form-lable">政府指导价</td>
						<td>
	<input name="govPrice"  type="text"  placeholder="请输入数字">
						</td>
						<td class="rap-form-lable">市场指导价</td>
						<td>
	<input name="marketPrice" type="text"  placeholder="请输入数字">
						</td>
					</tr>
					<tr>
						<td class="rap-form-lable ">备注</td>
						<td colspan="5">
    <textarea name="remark" data-maxlength="300" maxlength="300" ></textarea>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</div>
